<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>管理员角色分配</title>
	<link rel="stylesheet" href="__ACSS__/table.css">
</head>
<body>
	<div class="table-wrap">
		<div class="table-main">
			<div class="ibox-title">
				<h3>管理员角色分配</h3>
			</div>
			<div class="ibox-content">	
				<form action="{:url('admin/admin/adminrelate')}" class="form-main" method="post">
					<div class="form-group">
						<ul>
							<li>
								<span class="form-title">用户名</span>
								<input type="hidden" value="{$aid}" name="aid">
								<span class="form-username">{$userName}</span>
							</li>
                            <li>
                                <span class="form-title">角色选择</span>
                                {volist name="res" id="vo"}
									{if $vo.id == $roleId }
                                	<label class="form-radio"><input type="radio" value="{$vo.id}" name="roleId" checked>{$vo.name}</label>
									{else /}
									<label class="form-radio"><input type="radio" value="{$vo.id}" name="roleId" >{$vo.name}</label>
									{/if}
								{/volist}
                            </li>
							<li>
								<span class="form-title"></span>
								<input class="form-submit-btn" type="submit" value="提交">
								<a href="{:url('admin/admin/index')}" class="form-back-btn"  name="">返回</a>
							</li>
						</ul>
					</div>

				</form>
			</div>
		</div>
	</div>

</body>
</html>